package com.bdmc.smokesensor.models;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.List;
import lombok.Data;

@Data
public class zTreeList implements Serializable{
    private static final long serialVersionUID = -478979796458258448L;

    public zTreeList(int id,int Pid,String title,BigInteger checked,int funsort,BigInteger funtype){
        this.id=id;
        this.Pid=Pid;
        this.title=title;
        this.checked=(checked==null)?false:true;
        this.funsort=funsort;
        this.funtype=Integer.valueOf(funtype.toString());
    }

    public int id;
    public int Pid;
    public String title;
    public boolean checked;
    public int funsort;
    public int funtype;
    public List<zTreeList> children;

}
